package com.myhome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myhome.domain.CashRecharge;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myhome.domain.CashRechargeAuditRecord;
import com.myhome.model.CashParam;
import com.myhome.vo.BuyCashRechargeVo;

/**
*@Author QYiXin 
* @Date 2021 10 20 09 37
**/
public interface CashRechargeService extends IService<CashRecharge>{


        Page<CashRecharge> getPageCashRecharge(Page<CashRecharge> page, Long coinId, Long userId, String userName, String mobile, Byte status, String numMin, String numMax, String startTime, String endTime);

        Boolean updateCashRechargeStatus(CashRechargeAuditRecord cashRechargeAuditRecord);

    Page<CashRecharge> getOneUserCashRecharge(Page<CashRecharge> page, Byte status, Long userId);

    BuyCashRechargeVo buyCashRecharge(Long userId, CashParam cashParam);
}
